<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{$title|raw}</title>
<meta name="keywords" content="{$rs.keyword|raw}" />
<meta name="description" content="{$rs.description|raw}" />
<link rel="shortcut icon" type="image/x-icon" href="{$siteRs.ico}" />
{include file="public/css" /}
<link rel="stylesheet" href="{:config('template.skin')}/owl.carousel/assets/owl.carousel.min.css">
</head>
<body>
{include file="public/head" /}
<div class="container mt-4 mb-3 text-center">
    <div class="row">
        <?php $infoList = table_list($controller, 0, '*', $lang, 5, 'product.sequence desc'); ?>
        <div class="offset-1"></div>
        {foreach $infoList as $infoRs}
            <a href="<?php the_view_url($infoRs['id'],$controller); ?>" class="col-2">
                <div style="max-height: 50px; overflow: hidden;" class="border rounded py-1">
                    <img src="{$infoRs.thumb}" alt="{$infoRs.title}" class="mb-2" style="max-width: 90px;">
                </div>
                <div class="w-100 ellipsis line-1">{$infoRs.title|raw}</div>
            </a>
        {/foreach}
    </div>
</div>
<!--面包屑 开始-->
<div class="w-100 bg-light py-2">
    <div class="container">
        <div class="row">
            <div class="col-md-8 pt-1 d-none d-sm-block">
                <a href="{$home_path}" class="mr-2">{:lang('v_home')}</a> <i class="fa fa-angle-right"></i>
                <a href="<?php the_list_url($controller); ?>" class="ml-2">{:lang('v_product')}</a><i class="fa fa-angle-right mx-2"></i>
                {volist name="crumb" id="listnavRs"}
                    <a href="{$listnavRs.url}">{$listnavRs.title}</a><i class="fa fa-angle-right mx-2"></i>
                {/volist}
                {$rs.title|raw}
            </div>
            <div class="col-md-4">
                <form name="form_search" id="form_search" method="get" action="<?php the_list_url($controller); ?>">
                    <div class="input-group">
                        <input type="text" class="form-control form-control-sm btn-rounded" name="keyword" id="keyword" placeholder="{:lang('v_keyword_tips')}...">
                        <span class="input-group-append"><button type="button" name="btn_search" id="btn_search" class="btn btn-sm btn-rounded px-3"><i class="fa fa-search"></i></button></span>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--面包屑 结束-->
<!--主体 开始-->
<div class="container mt-3 mt-sm-5">
    <div class="row">
        <!--内容 开始-->
        <div class="col-md-12 my-sm-5">
            <div class="row">
                <div class="col-md-12">
                    <div class="w-100 detail">{$rs.content1|raw}</div>
                    <div class="w-100 detail">{$rs.content2|raw}</div>
                    <div class="w-100 detail">{$rs.content3|raw}</div>
                </div>
            </div>
        </div>
        <!--内容 结束-->
    </div>
</div>
{include file="public/foot" /}
<script type="text/javascript" src="{:config('template.skin')}/owl.carousel/owl.carousel.min.js"></script>
<script type="text/javascript" src="{:config('template.skin')}/js/gallery.js"></script>
</body>
</html>